$(function () {
    bindEvents();
});


function bindEvents() {
    $("a#getDownloadUrl").click(function () {
        var tempCode = $("input[name='TempCode']").val();
        var downloadurl = "/" + tempCode;
        window.location = downloadurl;
        return false;
    });

};
